import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import * as Icons from '@element-plus/icons-vue'
import * as echarts from 'echarts'
import $ from './utils/jquery.js'
const app = createApp(App)
app.use(ElementPlus, {
  locale: zhCn,
})
for (let i in Icons) {
  app.component(i, Icons[i])
}
app.use(router)
app.mount('#app')
app.config.globalProperties.$ = $

app.config.globalProperties.$echarts = echarts